package org.dromara.system.mapper;

import org.dromara.system.domain.SysAgent;
import org.dromara.system.domain.bo.SysAgentBo;
import org.dromara.system.domain.query.SysAgentQuery;
import org.dromara.system.domain.vo.SysAgentVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 代理商Mapper接口
 *
 * @author yixiacoco
 * @date 2025-09-03
 */
public interface SysAgentMapper extends BaseMapperPlus<SysAgent, SysAgentVo> {

    /**
     * 查询代理商列表
     *
     * @param query 查询对象
     * @return {@link SysAgentVo}
     */
    List<SysAgentVo> queryList(SysAgentQuery query);


    List<SysAgentVo> queryListWithParentName(SysAgentQuery query);

}
